package com.forum.dto;

import org.springframework.stereotype.Component;

@Component
public class AuthorDto {
    private Integer id;
    private String name;
    private String avatar;
    private String desc;

    private Boolean isLike;
    public Integer getId() {
        return id;
    }

    public Boolean getLike() {
        return isLike;
    }

    public void setLike(Boolean like) {
        isLike = like;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }


// getters/setters
}

